package org.jeecg.modules.fund.service.impl;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.fund.entity.FundHold;
import org.jeecg.modules.fund.entity.FundSearchHistory;
import org.jeecg.modules.fund.mapper.FundSearchHistoryMapper;
import org.jeecg.modules.fund.service.IFundSearchHistoryService;
import org.springframework.stereotype.Service;

@Service
public class FundSearchHistoryServiceImpl extends ServiceImpl<FundSearchHistoryMapper, FundSearchHistory> implements IFundSearchHistoryService {
    @Override
    public void create(FundSearchHistory history) {
        history.setCreateTime(new DateTime());
        this.save(history);
    }
}
